<template>
  <div>
    <h4>患者意愿及目标</h4>
    <el-row>
      <el-col>
        <div>
          <el-input
            type="textarea"
            resize="none"
            :rows="2"
            placeholder="患者意愿及目标:"
            v-model="pgForm.patient_will_target">
          </el-input>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "patient_will",
  title: "患者意愿及目标",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props:{
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
          patient_will_target:'',
        },
    };
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
</style>
